;James-- made it 
;Tested on undernet 
;mail: James.James@mailcity.com
;|----------------ATTENTION-------------------------------|
;| don t do that to often i am now a F4 press  | 
;|       ADDICT can t stop pressing F4            |
;|--------------------------------------------------------------------|

on 1:LOAD:{
  .echo 2Welcome to Random Color Nick Changer 1.1
  .echo 2Never get addict from it i got its so hard not to press F4
  .echo 2Color Nick Changer 1.1 James-- Sliver Production 1999
  .echo 2Press F4 in any channel to randomize the color of the nicks 
  .echo 2Press Shift-F4 in any channel to change the color of the nick to your normal color 
}

On 1:Start:.echo 2Color Nick Changer 1.0 Initialized!!!!

alias /F4 {
  var %nick $nick($chan,0) 
  :loop
  var %color $rand(0,15)
  cline -l %color $chan %nick
  if ( %nick >= 2 ) { dec %nick | goto loop }
}

alias /sF4 {
  var %nick $nick($chan,0) 
  :loop
  var %color $colour(listbox text)
  cline -l %color $chan %nick
  if ( %nick >= 2 ) { dec %nick | goto loop }
}

